home *** CD-ROM | disk | FTP | other *** search
/ UpTime Volume 2 #2 / utv2n2s1.d64 / reader's survey (.txt) < prev    next >
Commodore BASIC  |  2022-08-28  |  7KB  |  286 lines

  1. 10 :
  2. 16 :
  3. 20 print chr$(8)chr$(14)
  4. 30 uptime=(8*4096)+4: de=186
  5. 40 poke53280,0: poke53281,0
  6. 95 :
  7. 100 gosub 1000: rem *** screen template ***
  8. 110 gosub 1500: rem *** screen #1 ***
  9. 115 :
  10. 120 get k$: if k$="" then 120
  11. 130 if k$=chr$(140) then 550
  12. 140 if k$<>chr$(13) then 120
  13. 195 :
  14. 200 gosub 1600: rem *** screen #2 ***
  15. 205 :
  16. 210 get k$: if k$="" then 210
  17. 220 if k$=chr$(140) then 550
  18. 230 if k$<>chr$(13) then 210
  19. 295 :
  20. 300 gosub 1700: rem *** screen #3 ***
  21. 305 :
  22. 310 get k$: if k$="" then 310
  23. 320 if k$=chr$(140) then 550
  24. 330 if k$<>chr$(13) then 310
  25. 395 :
  26. 400 gosub 1800: rem *** screen #4 ***
  27. 405 :
  28. 410 ml=23: gosub 5000: rem *** get kbd input ***
  29. 415 :
  30. 420 n$=t$: if t$="" then n$="an anonymous source"
  31. 425 :
  32. 430 gosub 1900: rem *** screen #4 con't ***
  33. 435 :
  34. 440 get k$: if k$="" then 440
  35. 450 if k$=chr$(140) then 550
  36. 460 if k$<>chr$(13) then 440
  37. 465 :
  38. 500 er=0: gosub 2000: rem *** output to printer ***
  39. 505 if er=1 then goto 600
  40. 506 :
  41. 510 gosub 3000: rem *** screen #5 ***
  42. 515 :
  43. 520 get k$: if k$="" then 520
  44. 530 if k$=chr$(140) then 550
  45. 540 if k$<>chr$(13) then 520
  46. 545 :
  47. 550 poke de,8: sys uptime
  48. 595 :
  49. 596 rem ***************
  50. 597 rem  printer error
  51. 598 rem ***************
  52. 599 :
  53. 600 gosub 1400: rem *** clear text area ***
  54. 605 :
  55. 610 printspc(6)" [150] [212]here is a printer error  [155]"
  56. 620 printspc(6)"[210]echeck all of your printer"
  57. 630 printspc(5)"connections and the printer's"
  58. 640 printspc(6)"paper supply and try again."
  59. 645 :
  60. 650 get k$: if k$="" then 650
  61. 660 if k$=chr$(140) then 550
  62. 670 if k$<>chr$(13) then 650
  63. 675 :
  64. 680 gosub 1400: rem *** clear text area ***
  65. 685 :
  66. 690 printspc(16)"[208]rinting"
  67. 700 printspc(12)"[210]eader's  [211]urvey"
  68. 710 goto 500: rem *** retry printer ***
  69. 990 end
  70. 995 :
  71. 996 rem *****************
  72. 997 rem  screen template
  73. 998 rem *****************
  74. 999 :
  75. 1000 print"[147]";
  76. 1010 tl$="[176][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][174]"
  77. 1020 bl$="[173][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][189][155]"
  78. 1030 m1$="[221]": m2$="                                     [146][221]"
  79. 1040 m3$="[171][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][192][179]"
  80. 1050 c$="[158]": r$="": printtl$
  81. 1060 for x=1to23
  82. 1070 printm1$;c$;r$;m2$
  83. 1080 if x=5 then x=6: c$="": r$="[146]": printm3$
  84. 1090 if x=18 then x=19: c$="": r$="": printm3$
  85. 1100 next
  86. 1200 printbl$
  87. 1210 printspc(10)" [213]p[212]ime [158] [205]agazine's"
  88. 1220 printspc(12)"[210]eader's [211]urvey"
  89. 1230 for x=1to16: print: next
  90. 1240 printspc(7)"[208]ress [[210][197][212][213][210][206]] to [195]ontinue"
  91. 1250 printspc(4)"[208]ress [198]8 to [197]xit [194]ack to [213]p[212]ime[155]"
  92. 1290 return
  93. 1395 :
  94. 1396 rem *****************
  95. 1397 rem  clear text area
  96. 1398 rem *****************
  97. 1399 rem :
  98. 1400 print"";
  99. 1410 for x=1to12
  100. 1420 print"[221]                                     [221]"
  101. 1430 next
  102. 1440 print"[155]";
  103. 1450 return
  104. 1495 :
  105. 1496 rem ***********
  106. 1497 rem  screen #1
  107. 1498 rem ***********
  108. 1499 :
  109. 1500 gosub 1400: rem *** clear text area ***
  110. 1505 :
  111. 1510 printspc(8)"[213]p[212]ime the [196]isk [205]onthly[155]"
  112. 1520 printspc(2)"is the [159][206]umero 2[155] magazine on a disk"
  113. 1530 printspc(7)"for the [195]ommodore 64/128"
  114. 1540 printspc(5)"[215]e are constantly working to"
  115. 1550 printspc(8)"improve our publication"
  116. 1560 printspc(11)"and [217][207][213][155][160]can help!"
  117. 1590 return
  118. 1595 :
  119. 1596 rem ***********
  120. 1597 rem  screen #2
  121. 1598 rem ***********
  122. 1599 :
  123. 1600 gosub 1400: rem *** clear text area ***
  124. 1605 :
  125. 1610 printspc(6)"[217]ou can help us stay #2[155] by"
  126. 1620 printspc(9)"providing your input:
  127. 1630 [153][166]6)"sys(NULL)raiselist, printlenriticismlist, openlenommentslist"
  128. 1640 [153][166]4)"atnnything that you feel will help"
  129. 1650 [153][166]7)"us meet your expectations"
  130. 1660 [153][166]14)"with (NULL)p(NULL)imelist"
  131. 1690 [142]
  132. 1695 :
  133. 1696 [143] ***********
  134. 1697 [143]  screen #3
  135. 1698 [143] ***********
  136. 1699 :
  137. 1700 [141] 1400: [143] *** clear text area ***
  138. 1705 :
  139. 1710 [153][166]3)"peeky following the next few prompts"
  140. 1720 [153][166]5)"your printer will print out a"
  141. 1730 [153][166]5)"reader's survey form for you."
  142. 1740 [153][166]4)"(NULL)lease take the time to fill out"
  143. 1750 [153][166]3)"the survey and return it using the"
  144. 1760 [153][166]4)"enclosed business reply envelope."
  145. 1770 [153][166]4)"(NULL)e will use the results of this"
  146. 1780 [153][166]5)"survey to determine what it is"
  147. 1790 [153][166]3)"you've come to expect from (NULL)p(NULL)imelist": [142]
  148. 1795 :
  149. 1796 [143] ***********
  150. 1797 [143]  screen #4
  151. 1798 [143] ***********
  152. 1799 :
  153. 1800 [141] 1400: [143] *** clear text area ***
  154. 1805 :
  155. 1810 [153][166]3)"right$f you'd like to include your name"
  156. 1820 [153][166]10)"enter it now, please."
  157. 1830 [153][166]2)"(atn [(NULL)val(NULL)(NULL)(NULL)(NULL)] will make it anonymous)"
  158. 1840 [153][166]4)"(NULL)ame:tab(tab(tab(tab(tab(tab(tab(tab(tab(tab(tab(tab(tab(tab(tab(tab(tab(tab(tab(tab(tab(tab(tab(tab(tab("
  159. 1850 [153][166]8)"onon*cmd";
  160. 1860 [142]
  161. 1895 :
  162. 1896 [143] *****************
  163. 1897 [143]  screen #4 con't
  164. 1898 [143] *****************
  165. 1899 :
  166. 1900 [141] 5200: [143] *** ck for dsywhl ***
  167. 1905 [153][166]11)"(NULL)eady your printer"
  168. 1910 [153][166]7)"(NULL)ress sys[(NULL)val(NULL)(NULL)(NULL)(NULL)]list when ready"
  169. 1920 [142]
  170. 1995 :
  171. 1996 [143] *******************
  172. 1997 [143]  output to printer
  173. 1998 [143] *******************
  174. 1999 :
  175. 2000 [159] 4,4,1:[160]4:s[178]st: [143] *** routine to open printer chn ***
  176. 2010 [139] a[179][177]0 [167] er[178]1: [137] 2490
  177. 2015 [159] 4,4,7
  178. 2020 [152]4,[199](10)[199](10)
  179. 2025 [152]4,""[166]12)"(NULL)eader's (NULL)urvey for the lenommodore 64/128    ";
  180. 2027 [152]4,"(NULL)ol. 2 (NULL)o. 2"
  181. 2030 [152]4,[199](10)
  182. 2040 [152]4,"     (NULL)his survey is from ";n$;"."
  183. 2050 [152]4,[199](10)[199](0)
  184. 2100 l$[178]"totototototototototototototototo"
  185. 2105 [139] dw[178]1 [167] l$[178]"................"
  186. 2165 [152]4,"     ***********************************";
  187. 2167 [152]4,"***********************************"
  188. 2170 bx$[178]"[   ]   tototototototototototototototototototototototototototototototototototototo"
  189. 2172 [139] dw[178]1 [167] bx$[178]"[   ]   ....................................."
  190. 2175 [152]4,[199](10)[199](0)
  191. 2180 [152]4,"     (NULL)lease rate the following programs and categories on a"
  192. 2190 [152]4,"     scale between 1 and 10 with 10 being the highest."
  193. 2195 [152]4,[199](10)[199](0)
  194. 2200 [152]4,"     (NULL)ini-chr$olf        ";bx$
  195. 2205 [152]4,[199](0)
  196. 2206 [152]4,"     (NULL)orcerer's (NULL)tn.  ";bx$
  197. 2207 [152]4,[199](0)
  198. 2210 [152]4,"     (NULL)pace str$uel       ";bx$
  199. 2212 [152]4,[199](0)
  200. 2214 [152]4,"     atnpp't lenalendar   ";bx$
  201. 2215 [152]4,[199](0)
  202. 2220 [152]4,"     (NULL)ision (NULL)imes     ";bx$
  203. 2225 [152]4,[199](0)
  204. 2230 [152]4,"     peeklack (NULL)ut!       ";bx$
  205. 2235 [152]4,[199](0)
  206. 2240 [152]4,"     len128 left$alf-ascast   ";bx$
  207. 2247 [152]4,[199](0)
  208. 2250 [152]4,"     (NULL)esar on (NULL)rack   ";bx$
  209. 2255 [152]4,[199](0)
  210. 2260 [152]4,"     (NULL)rogramming w/(NULL)(NULL) ";bx$
  211. 2265 [152]4,[199](0)
  212. 2266 [152]4,"     (NULL)andom atnccess    ";bx$
  213. 2267 [152]4,[199](0)
  214. 2270 [152]4,"     (NULL)ar (NULL)imulations  ";bx$
  215. 2271 [152]4,[199](0)
  216. 2272 [152]4,"     (NULL)am valxpansion    ";bx$
  217. 2275 [152]4,[199](0)
  218. 2278 [152]4,"     (NULL)oftware (NULL)eviews ";bx$:[152]4,[199](0)
  219. 2280 [152]4,"     right$'d rate the issue overall  [   ]
  220. 2285 print#4,chr$(0)
  221. 2287 print#4,chr$(0)
  222. 2300 print#4,"     [193]ny other comments or observations you'd care to make:"
  223. 2305 print#4,chr$(0)
  224. 2310 print#4,"     ";l$;l$;l$;l$
  225. 2315 print#4,chr$(0)
  226. 2320 print#4,"     ";l$;l$;l$;l$
  227. 2325 print#4,chr$(0)
  228. 2326 print#4,"     ";l$;l$;l$;l$
  229. 2327 print#4,chr$(0)
  230. 2328 print#4,"     ";l$;l$;l$;l$
  231. 2330 print#4,chr$(12)
  232. 2490 close4: return
  233. 2995 :
  234. 2996 rem ***********
  235. 2997 rem  screen #5
  236. 2998 rem ***********
  237. 2999 :
  238. 3000 gosub 1400: rem clear text